< previous page page_411 next page >

Page 411
You also learn how to use the DrawMode property to send the completed graph to a printer, save it as a file, or copy it to the Windows Clipboard.
Loading the Graph Control into the Visual Basic Toolbox
Note.gif
Visual Basic 5 does not install the GRAPH32.OCX control by default. If you cannot locate the GRAPH32.OCX control in your version of Visual Basic 5, you need to copy it from the Tools\Controls folder of the Visual Basic 5 installation CD. You may also need to register the control using the vbctrls.reg file found in that same folder.

Before you can begin to use the graph control tool, you have to make sure it is loaded into the Visual Basic toolbox. To do this, load Visual Basic and select Project | Components from the Visual Basic main menu. In the list of available controls, locate Pinnacle-BPS Graph Control (see Figure 11.1). Click the checkbox to add the control to your toolbox and then click the OK button to exit the form.
0411-01.jpg
Figure 11.1.
Adding the graph control to your toolbox.

 
< previous page page_411 next page >

If you like this book, buy it!